import request from '@/utils/request'

// 【请填写功能名称】列表
export function areaLists(params?: Record<string, any>) {
    return request.get({ url: '/area/list', params })
}

// 【请填写功能名称】详情
export function areaDetail(params: Record<string, any>) {
    return request.get({ url: '/area/detail', params })
}

// 【请填写功能名称】新增
export function areaAdd(params: Record<string, any>) {
    return request.post({ url: '/area/add', params })
}

// 【请填写功能名称】编辑
export function areaEdit(params: Record<string, any>) {
    return request.post({ url: '/area/edit', params })
}

// 【请填写功能名称】删除
export function areaDelete(params: Record<string, any>) {
    return request.post({ url: '/area/del', params })
}
